home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
hop.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
5KB
|
133 lines
HHHHOOOOPPPP((((6666XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV HHHHOOOOPPPP((((6666XXXX))))
NNNNAAAAMMMMEEEE
hop - calculate and display a doily pattern
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_h_o_p [-AFHLRSZmu][-w width][-h height][-o filename][-C
colorwheel][-D numdemos][-E exponent][-abcde
value][-l limit][-p period][-s scale]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_h_o_p generates and graphically displays a doily-like pattern
by iterating one of several parametric maps of the plane.
Maps include use of the square root, sine, logarithmic, and
linear functions.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
-R Indicates the display will be in the root window. In
this mode, the default color map will be used and
no spinning of the color wheel is possible.
-C _n Selects one of many different color wheels to use.
The default color wheel is a rainbow palette.
-D _n Indicates demo mode. In this mode, the doily will be
calculated, displayed, and spun. The numeric
argument indicates the number of successive runs
(each using different parameters and maps). The
program exits after the last run.
-w _n Specifies the width of the window. Default is full
screen.
-h _n Specifies the height of the window. Default is full
screen.
-o _f_i_l_e_n_a_m_e
Specifies the output filename to be used. If the -o
option is given, this file will automatically be
written out at the completion of the drawing. If it
is not specified, a default filename of hop.ppm is
used and only written if the 'f' or 'F' keys are
pressed during a run. The format of the output file
is PPM. The parameters used to calculate the picture
are included as comments at the beginning of the
output file.
-u Produces a usage message.
During display, use of the keys +-_a_A_b_B_C_f_F_n_N_r_s_w_W_X?_h_q_Q
indicates:
(+) Increment minimum color index.
(+) Decrement minimum color index.
Page 1 (printed 7/3/94)
HHHHOOOOPPPP((((6666XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV HHHHOOOOPPPP((((6666XXXX))))
(a or A) Use the log function with new parameters
(b or B) Toggle use of a maximum number of points limit
(c or C) Clear the window and re-initialize the points
(d or D) Decrease or increase the delay in color wheel
spinning
(f or F) Save the window contents to a PPM format file
(H) Toggle histogram computation and display
(j or J) Randomly select which function to use (with
new parameters)
(k or K) Use the square root function with new
parameters
(l or L) Use the linear function with new parameters
(m or M) Use the sine function with new parameters
(n or N) Skip to the next doily (same function or
different function).
(r or R) Decrement or increment the histogram algorithm
index
(s) Spin the color wheel (toggling direction)
(S) Stop spinning the color wheel
(W or w) Increment or decrement the color map index.
(X) Erase the existing pattern and restart the
computation and display
(Q or q) quit
AAAAUUUUTTTTHHHHOOOORRRR
Ronald Joe Record
The Santa Cruz Operation
P.O. Box 1900
Santa Cruz, CA 95061
rr@sco.com
AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
The original algorithm (square root only) was published in
the September 1986 Scientific American. Assistance with
colormaps and spinning color wheels and X was gleaned from
Hiram Clawson and Stacey Campbell.
Page 2 (printed 7/3/94)